//
//  RefreshVM.h
//  Design
//
//  Created by boitx on 02/10/2017.
//  Copyright © 2017 boitx. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface RefreshVM : NSObject

@property (nonatomic,strong)UIScrollView *refreshView;
@property (nonatomic,strong) Class dataClass;
@property (nonatomic, retain) NSString *urlStr;
@property (nonatomic,strong) NSDictionary *params;
@property (nonatomic, copy) void (^requestResultBlock)(id obj);
@property (nonatomic,strong) NSMutableArray *dataArray;
@property (nonatomic, assign) BOOL isPost;


- (void)configRefresh;
- (void)requestHeaderData;

//常规请求
- (void)requestDataNormal;
- (void)getRequestDataNormal;
// tips: 要作为控制器的属性，要不然就被释放了

@end
